import static org.testng.Assert.*;

public class ComplexTest extends Complex{
    public static void main(String[] args)        //测试代码
    {
        Complex c=new Complex();
        Complex c1=new Complex(11,-7);
        Complex c2=new Complex(4,19);
        c.outputFu();
        c1.outputFu();
        c2.outputFu();
        c.addFu(c1,c2);
        c.minusFu(c1,c2);
        c.addFu(c2,c2);
    }
}